# Maintainer: Bruno Pagani <archange@archlinux.org>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
# Contributor: Alexandre Filgueira <alexfilgueira@antergos.com>

pkgname=cinnamon-menus
pkgver=5.6.0
pkgrel=1
pkgdesc="Cinnamon menu specifications"
arch=(loong64 x86_64)
url="https://github.com/linuxmint/cinnamon-menus"
license=(GPL LGPL)
depends=(glib2)
makedepends=(gobject-introspection meson samurai)
source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('de0f6492d8812f17a8802cfd139819b71ada46ffa76edd84b77e1cf3e47d1578')
b2sums=('84b3d513b6dbea253135df1f0f8ad017d78299b8cdd2bd2e7def547b74b59e998d3c37e30d480532802fb85db261242d51485f8fbeb7742310eee288de909aa1')

build() {
  mkdir -p build
  cd build
  arch-meson ../${pkgname}-${pkgver}
  samu
}

package(){
  cd build
  DESTDIR="${pkgdir}" samu install
}
